package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_CATEGORY_SALE_PROP", title = "京东销售属性")
public class VCCategorySaleProp {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CID", title = "类目ID", length = 32)
    private Integer cid;

    @FieldMeta(name = "DIM", title = "属性维度", length = 32)
    private Integer dim;

    @FieldMeta(name = "NAME", title = "属性名", length = 20)
    private String name;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getDim() {
        return dim;
    }

    public void setDim(Integer dim) {
        this.dim = dim;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCCategorySaleProp.class);
    }
}
